package com.study.model.jdao.FDjdao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.study.model.pojo.FDpojo.Finance;



/**
 * 财务
 * @author Administrator
 *
 */
public interface FinanceDao extends CrudRepository<Finance, String >{
	//默认继承save方法
	/**查询财务收支 
	 * @return
	 */
	public List<Finance> findAll();
	
	@Query("select u.id  from Finance u")
	public List<Integer> findFiance();
	/* public List<Finance> findAll(); */
	
}


